﻿/******** Grid Global ********/
.kgLabel {
    display: block;
    float: left;
    font-weight: bold;
    padding-right: 5px;
}
/******** Grid ********/
.kgGrid {
    background-color: rgb(253, 253, 253);
}

/******** Header ********/
.kgTopPanel {
    background-color: rgb(241, 241, 241);
    overflow: hidden;
}
.kgHeaderContainer {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgb(229, 229, 229);
    font-weight: bold;
}
.kgHeaderScroller {

}
.kgHeaderCell {
    position: absolute;
    background-color: rgb(241, 241, 241);
    padding: 0;
    cursor: pointer;
    border-right: 1px solid rgb(241, 241, 241);
}
/******** Viewport ********/
.kgViewport {
    background-color: rgb(255, 255, 255);
}

.kgCanvas {

}

/******** Rows ********/
.kgRow {
    border-bottom: 1px solid rgb(229, 229, 229);
}
.kgRow.kgCanSelect {
    cursor: pointer;
}
.kgRow.even {
    background-color: rgb(253, 253, 253);
}
.kgRow.odd {
    background-color: rgb(249, 249, 249);
}
.kgRow.kgSelected {
    background-color: rgb(255, 255, 204);
}
/******** Cells ********/
.kgCell {
    overflow: hidden;
    position: absolute;
    padding: 0;
    display: inline;
}
.kgRowIndexCell {
    text-align: center;
}
.kgSelectionCell {

}
.kgSelectionCell input[type="checkbox"] {
    margin-left: auto;
    margin-right: auto;
    margin-top: 7px;
    height: 15px;
    width: 15px;
}

/******** Header Sorting ********/
.kgSortImg {
    height: 9px;
    width: 7px;
}

.kgNoSort {
    cursor:default;
}

/******** Header Filtering ********/
.kgFilterBtn {
    cursor: pointer;
    height: 16px;
    width: 16px;
    position: absolute;
    margin: auto;
    top: 0; bottom: 0; left: 0; right: 0;
}
.kgFilterBtn.openBtn {
    background-image: url();
    background-repeat:no-repeat;
}
.kgFilterBtn.clearBtn {
    background-image: url();
    background-repeat:no-repeat;
    top: 50%;
}
.kgFilterBtn.closeBtn {
    background-image: url();
    background-repeat:no-repeat;
    bottom: 50%;
}

/******** Footer ********/
.kgFooterPanel {
    background-color: rgb(241, 241, 241);
    padding: 2px 0;
    border-top: 1px solid rgb(229, 229, 229);
    border-bottom: 1px solid rgb(229, 229, 229);
}
.kgTotalSelectContainer {
    float: left;
    margin: 5px;
    margin-top: 7px;
}
.kgFooterSelectedItems {
    padding: 2px;
}
.kgFooterTotalItems {
    padding: 2px;
}
.kgFooterTotalItems.kgNoMultiSelect {
    padding: 0px !important;
}

/******** Pager ********/
.kgPagerContainer {
    float: left;
    position: absolute;
    right: 0;
    left: 150px;
    margin: 0;
    margin-right: 15px;
    height: 37px;
    padding-top: 13px;
}
.kgPagerContainer.kgNoMultiSelect {
    height: 22px !important;
    padding-top: 2px !important;
}

.kgRowCountPicker {
    position: relative;
    float: left; /*margin-right: 20px!important;*/
    margin-left: -120px !important;
    padding-top: 1px;
}

.kgRowCountPicker span.kgLabel {
    padding-top:4px;
}

.kgRowCountPicker select {
    margin-top:0px;
}

.kgPagerControl {
    float: left;
    width: 135px;
}

.kgPagerControl input[type="button"] {
    float: left;
    font: Verdana, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: normal;
    text-transform: uppercase;
    height: 21px;
    line-height: 21px;
    cursor: pointer;
    color: rgb(255, 255, 255);
    margin: 0 !important;
    padding: 0 5px;
    overflow: visible;
}

/*---------- TEXTBOX ----------*/
.kgPagerControl input.kgPagerCurrent[type="text"] {
    float: left;
    margin: 0;
    text-align: center !important;
    border: 1px solid #afafaf;
    height: 17px;
    width: 25px;
}
/*---------- FIRST PAGE ----------*/
.kgPagerControl input.kgPagerFirst[type="button"] {
    -webkit-border-top-left-radius: 3px;
    -moz-border-radius-topleft: 3px;
    border-top-left-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-bottom-left-radius: 3px;
    border: 1px solid #494949;
    background: #494949 url() 50% 50% no-repeat;
    background: url() 50% 50% no-repeat, -moz-linear-gradient(top,  #494949 0%, #202020 100%);
    background: url() 50% 50% no-repeat, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#494949), color-stop(100%,#202020));
    background: url() 50% 50% no-repeat, -webkit-linear-gradient(top,  #494949 0%,#202020 100%);
    background: url() 50% 50% no-repeat, -o-linear-gradient(top,  #494949 0%,#202020 100%);
    background: url() 50% 50% no-repeat, -ms-linear-gradient(top,  #494949 0%,#202020 100%);
    background: linear-gradient(top,  #494949 0%,#202020 100%);
    overflow: visible;
    width: 25px;
}
.kgPagerControl input.kgPagerFirst[type="button"][disabled] {
    border: 1px solid #838383;
    background: #838383 url() 50% 50% no-repeat;
    background: url() 50% 50% no-repeat, -moz-linear-gradient(top,  #838383 0%, #6b6b6b 100%);
    background: url() 50% 50% no-repeat, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#838383), color-stop(100%,#6b6b6b));
    background: url() 50% 50% no-repeat, -webkit-linear-gradient(top,  #838383 0%,#6b6b6b 100%);
    background: url() 50% 50% no-repeat, -o-linear-gradient(top,  #838383 0%,#6b6b6b 100%);
    background: url() 50% 50% no-repeat, -ms-linear-gradient(top,  #838383 0%,#6b6b6b 100%);
    background: linear-gradient(top,  #838383 0%,#6b6b6b 100%);
    width: 25px;
    cursor: auto;
}
/*---------- PREVIOUS PAGE ----------*/
.kgPagerControl input.kgPagerPrev[type="button"] {
    border: 1px solid #494949;
    border-left: 1px solid #494949;
    background: #494949 url() 50% 50% no-repeat;
    background: url() 50% 50% no-repeat, -moz-linear-gradient(top,  #494949 0%, #202020 100%);
    background: url() 50% 50% no-repeat, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#494949), color-stop(100%,#202020));
    background: url() 50% 50% no-repeat, -webkit-linear-gradient(top,  #494949 0%,#202020 100%);
    background: url() 50% 50% no-repeat, -o-linear-gradient(top,  #494949 0%,#202020 100%);
    background: url() 50% 50% no-repeat, -ms-linear-gradient(top,  #494949 0%,#202020 100%);
    background: linear-gradient(top,  #494949 0%,#202020 100%);
    width: 25px;
}
.kgPagerControl input.kgPagerPrev[type="button"][disabled] {
    border: 1px solid #838383;
    border-left: 1px solid #999;
    background: #838383 url() 50% 50% no-repeat;
    background: url() 50% 50% no-repeat, -moz-linear-gradient(top,  #838383 0%, #6b6b6b 100%);
    background: url() 50% 50% no-repeat, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#838383), color-stop(100%,#6b6b6b));
    background: url() 50% 50% no-repeat, -webkit-linear-gradient(top,  #838383 0%,#6b6b6b 100%);
    background: url() 50% 50% no-repeat, -o-linear-gradient(top,  #838383 0%,#6b6b6b 100%);
    background: url() 50% 50% no-repeat, -ms-linear-gradient(top,  #838383 0%,#6b6b6b 100%);
    background: linear-gradient(top,  #838383 0%,#6b6b6b 100%);
    width: 25px;
    cursor: auto;
}
/*---------- NEXT PAGE ----------*/
.kgPagerControl input.kgPagerNext[type="button"] {
    border: 1px solid #494949;
    border-right: 1px solid #696969;
    background: #494949 url() 50% 50% no-repeat;
    background: url() 50% 50% no-repeat, -moz-linear-gradient(top,  #494949 0%, #202020 100%);
    background: url() 50% 50% no-repeat, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#494949), color-stop(100%,#202020));
    background: url() 50% 50% no-repeat, -webkit-linear-gradient(top,  #494949 0%,#202020 100%);
    background: url() 50% 50% no-repeat, -o-linear-gradient(top,  #494949 0%,#202020 100%);
    background: url() 50% 50% no-repeat, -ms-linear-gradient(top,  #494949 0%,#202020 100%);
    background: linear-gradient(top,  #494949 0%,#202020 100%);
    width: 25px;
}
.kgPagerControl input.kgPagerNext[type="button"][disabled] {
    border: 1px solid #838383;
    border-right: 1px solid #999;
    background: #838383 url() 50% 50% no-repeat;
    background: url() 50% 50% no-repeat, -moz-linear-gradient(top,  #838383 0%, #6b6b6b 100%);
    background: url() 50% 50% no-repeat, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#838383), color-stop(100%,#6b6b6b));
    background: url() 50% 50% no-repeat, -webkit-linear-gradient(top,  #838383 0%,#6b6b6b 100%);
    background: url() 50% 50% no-repeat, -o-linear-gradient(top,  #838383 0%,#6b6b6b 100%);
    background: url() 50% 50% no-repeat, -ms-linear-gradient(top,  #838383 0%,#6b6b6b 100%);
    background: linear-gradient(top,  #838383 0%,#6b6b6b 100%);
    width: 25px;
    cursor: auto;
}
/*---------- LAST PAGE ----------*/
.kgPagerControl input.kgPagerLast[type="button"] {
    -webkit-border-top-right-radius: 3px;
    -moz-border-radius-topright: 3px;
    border-top-right-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -moz-border-radius-bottomright: 3px;
    border-bottom-right-radius: 3px;
    border: 1px solid #494949;
    background: #494949 url() 50% 50% no-repeat;
    background: url() 50% 50% no-repeat, -moz-linear-gradient(top,  #494949 0%, #202020 100%);
    background: url() 50% 50% no-repeat, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#494949), color-stop(100%,#202020));
    background: url() 50% 50% no-repeat, -webkit-linear-gradient(top,  #494949 0%,#202020 100%);
    background: url() 50% 50% no-repeat, -o-linear-gradient(top,  #494949 0%,#202020 100%);
    background: url() 50% 50% no-repeat, -ms-linear-gradient(top,  #494949 0%,#202020 100%);
    background: linear-gradient(top,  #494949 0%,#202020 100%);
    width: 25px;
}
.kgPagerControl input.kgPagerLast[type="button"][disabled] {
    border: 1px solid #838383;
    background: #838383 url() 50% 50% no-repeat;
    background: url() 50% 50% no-repeat, -moz-linear-gradient(top,  #838383 0%, #6b6b6b 100%);
    background: url() 50% 50% no-repeat, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#838383), color-stop(100%,#6b6b6b));
    background: url() 50% 50% no-repeat, -webkit-linear-gradient(top,  #838383 0%,#6b6b6b 100%);
    background: url() 50% 50% no-repeat, -o-linear-gradient(top,  #838383 0%,#6b6b6b 100%);
    background: url() 50% 50% no-repeat, -ms-linear-gradient(top,  #838383 0%,#6b6b6b 100%);
    background: linear-gradient(top,  #838383 0%,#6b6b6b 100%);
    width: 25px;
    cursor: auto;
}
